<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>标题</title> 
<link href="./css/ionic.css" rel="stylesheet"> 
<script src="./js/ionic.bundle.min.js"></script>
</head>
<body ng-app="myApp" ng-controller="actionsheetCtl" >
	<button class="button button-assertive" ng-click="action()">点我查看</button> 
</body>
<script type="text/javascript">
var myApp = angular.module("myApp",["ionic"]);
myApp.run(function($ionicPlatform){
	$ionicPlatform.ready(function(){
		if(window.cordova && window.cordova.plugins.Keyboard) {
			cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
		}
		if(window.StatusBar) {
			StatusBar.styleDefault();
		}
	});
});
myApp.controller( 'actionsheetCtl',['$scope','$timeout' ,'$ionicBackdrop',function($scope,$timeout,$ionicBackdrop){
	$scope.action = function() {
		$ionicBackdrop.retain();
		$timeout(function(){
			$ionicBackdrop.release();
		}, 3000);
	};
}]);
</script>
</html>
